//
//  YJsonKV.swift
//  EasyEverything
//
//  Created by YangZhe on 16/11/24.
//  Copyright © 2016年 KuLeTech. All rights reserved.
//
open class YJsonKV{
    open var jsonKVDic:[String:Any]?
    
    public init(){
        jsonKVDic = [String:String]()
    }
    
    open func get(_ name:String) -> Any?{
        return jsonKVDic![name]
    }
    
    open func put(_ name:String,_ value:Any) -> YJsonKV{
        jsonKVDic!.updateValue("\(value)", forKey: name)
        return self
    }
}
